﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CopySniffer.UI.Core.Controlers;
using CopySniffer.UI.Core;
using CopySniffer.Search;
using System.Xml;

namespace CopySniffer.UI.Views
{
    public interface IEditorView: IView<EditorControler>
    {
        void Cut();

        void Copy();

        void Paste();

        EditorState State { get; set; }

        string UserText { get; set; }

        void ShowResults(XmlDocument resultsXml);

        void SearchCopies();

        void SelectAll();
    }

    public enum EditorState
    {
        New,
        Saved,
        Modified
    }
}
